package com.cl.pojo;


public class Post {
    private int postid;
    private String postname;
    private String posttype;

    public Post() {
    }

    public Post(int postid, String postname, String posttype) {
        this.postid = postid;
        this.postname = postname;
        this.posttype = posttype;
    }

    public int getPostid() {
        return postid;
    }

    public void setPostid(int postid) {
        this.postid = postid;
    }

    public String getPostname() {
        return postname;
    }

    public void setPostname(String postname) {
        this.postname = postname;
    }

    public String getPosttype() {
        return posttype;
    }

    public void setPosttype(String posttype) {
        this.posttype = posttype;
    }

    @Override
    public String toString() {
        return "Post{" +
                "postid=" + postid +
                ", postname='" + postname + '\'' +
                ", posttype='" + posttype + '\'' +
                '}';
    }
}
